#!/bin/bash

# Determine directory for scripts
DIR=`dirname $0`

# Load the config
source "$DIR/lweamonit_config.sh"

# If we should be disabled, exit with a success code
if [ $MJPG_STREAMER_DISABLED -eq 1 ]; then
	exit 0
fi

# Execute command
echo "Executing: "$COMMAND
echo
eval $COMMAND

